package com.tuanzi.loan.business.entity.galaxycard;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.Data;
import lombok.EqualsAndHashCode;

import com.tuanzi.loan.core.entity.AuditEntity;

@Data
@Entity
@Table(name = "galaxy_card_promote_user_channel")
@EqualsAndHashCode(callSuper = true)
public class GalaxyCardPromoteUserChannel extends AuditEntity {
	
	private static final long serialVersionUID = 1243405246607695457L;
	
	@Id
	@Column(name = "id")
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Long id;
	
	@Column(name = "user_id")
	private String userId;
	
	   
	@Column(name = "channel_code")
	private Integer channelCode;

}
